Total Complexity | 26 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 217 |
Lines of code | 123 |
Logical lines of code | 47 |
Comment lines | 69 |
Methods | 7 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_block_types() | 39 | 11 | 68 | |
add_data_attributes() | 49 | 8 | 27 | |
register_blocks() | 67 | 2 | 7 | |
redirect_to_field() | 69 | 2 | 6 | |
__construct() | 74 | 1 | 5 | |
init() | 69 | 1 | 6 | |
hide_legacy_widgets_with_block_equivalent() | 75 | 1 | 4 |